package cn.neusoft.service;



import cn.neusoft.query.BaseQuery;
import cn.neusoft.vo.ResultBean;

import java.util.List;

public interface IBaseService<T>{
	public ResultBean add(T t) throws Exception;
	public ResultBean update(T t) throws Exception;
	public ResultBean delete(Integer id) throws Exception;
	public ResultBean getById(Integer id) throws Exception;
	public ResultBean getAll() throws Exception;
	public ResultBean getByPage(BaseQuery baseQuery) throws Exception;
	public ResultBean batchDel(List<Integer> ids) throws Exception;
}
